package com.course.delegate;

import java.util.Vector;

import com.course.bean.FeedbackTo;
import com.course.exception.ConnectionException;
import com.course.exception.DataNotFoundException;
import com.course.exception.LoginException;
import com.course.serviceI.FeedbackServiceI;
import com.course.serviceImpl.FeedbackServiceImpl;

public class FeedbackMgrDelegate {

	FeedbackServiceI fsi=new FeedbackServiceImpl();
	
	public boolean cancelFeedBack(int fid) throws LoginException,
	ConnectionException {
		return fsi.cancelFeedBack(fid);
	}
	public Vector<FeedbackTo> getAllFeedBack(int fid1)
	throws DataNotFoundException {
		return fsi.getAllFeedBack(fid1);
	}
	public Vector<FeedbackTo> getFeedBack() throws DataNotFoundException {
		return fsi.getFeedBack();
	}
	public boolean insertFeedBack(FeedbackTo fb) throws LoginException,
	ConnectionException {
		return fsi.insertFeedBack(fb);
	}
	
	
}
